package com.cw.realtime.common
package constant

object Constant {



  val KAFKA_BROKERS = "hadoop01:9092,hadoop02:9092"

  val TOPIC_DB = "topic_db"
  val TOPIC_LOG = "topic_log"

  val MYSQL_HOST = "hadoop01"
  val MYSQL_PORT = 3306
  val MYSQL_USER_NAME = "root"
  val MYSQL_PASSWORD = "12345678"
  val HBASE_NAMESPACE = "gmall"
  val HBASE_ZOOKEEPER_QUORUM = "hadoop01:2181,hadoop02:2181"

  val DATABASE_PROCESS = "gmall_config"
  val TABLE_PROCESS_DIM = "table_process_dim"
  val TABLE_PROCESS_DWD = "table_process_dwd"


  val MYSQL_DRIVER = "com.mysql.cj.jdbc.Driver"
  val MYSQL_URL = "jdbc:mysql://hadoop01:3306?useSSL=false"

  val TOPIC_DWD_TRAFFIC_START = "dwd_traffic_start"
  val TOPIC_DWD_TRAFFIC_ERR = "dwd_traffic_err"
  val TOPIC_DWD_TRAFFIC_PAGE = "dwd_traffic_page"
  val TOPIC_DWD_TRAFFIC_ACTION = "dwd_traffic_action"
  val TOPIC_DWD_TRAFFIC_DISPLAY = "dwd_traffic_display"

  val TOPIC_DWD_INTERACTION_COMMENT_INFO = "dwd_interaction_comment_info"
  val TOPIC_DWD_TRADE_CART_ADD = "dwd_trade_cart_add"

  val TOPIC_DWD_TRADE_ORDER_DETAIL = "dwd_trade_order_detail"

  val TOPIC_DWD_TRADE_ORDER_CANCEL = "dwd_trade_order_cancel"

  val TOPIC_DWD_TRADE_ORDER_PAYMENT_SUCCESS = "dwd_trade_order_payment_success"
  val TOPIC_DWD_TRADE_ORDER_REFUND = "dwd_trade_order_refund"

  val TOPIC_DWD_TRADE_REFUND_PAYMENT_SUCCESS = "dwd_trade_refund_payment_success"

  val TOPIC_DWD_USER_REGISTER = "dwd_user_register"

  val FENODES = "hadoop01:7030"

  val DORIS_DB = "gmall_realtime"

  val DORIS_USERNAME = "root"
  val DORIS_PASSWD = "12345678"


  val DWS_TRAFFIC_KEYWORD_PAGE_VIEW_WINDOW = "dws_traffic_keyword_page_view_window"

  val DWS_TRAFFIC_USER_VISIT_PAGE_VIEW_WINDOW = "dws_traffic_user_visit_page_view_window"

  val DWS_TRAFFIC_HOME_DETAIL_PAGE_VIEW_WINDOW = "dws_traffic_home_detail_page_view_window"

  val DWS_USER_USER_LOGIN_WINDOW = "dws_user_user_login_window"

  val DWS_USER_USER_REGISTER_WINDOW = "dws_user_user_register_window"

  val DWS_TRADE_CART_ADD_UU_WINDOW = "dws_trade_cart_add_uu_window"

  val DWS_TRADE_SKU_ORDER_WINDOW = "dws_trade_sku_order_window"

  val DWS_TRADE_PROVINCE_ORDER_WINDOW = "dws_trade_province_order_window"

}
